import axios from '@/utils/request';

export function getSingleRoleConfigList(params) {
    return axios.post({
        url: '/single-role-config/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSingleRoleConfigListAll(params) {
    return axios.post({
        url: '/single-role-config/listAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSingleRoleConfig(params) {
    return axios.post({
        url: '/single-role-config/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSingleRoleConfig(params) {
    return axios.post({
        url: '/single-role-config/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSingleRoleConfig(params) {
    return axios.post({
        url: '/single-role-config/load',
        data: params
    }).then((res) => {
        return res
    })
}

